package sk.tuke.domain;

import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlAccessType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DoctorType", propOrder = { "insuranceNumber", "departmentNumber" })
@XmlRootElement(name = "Doctor")
public class Doctor extends User {

	@XmlElement(required = true)
	private Integer insuranceNumber;
	@XmlElement(required = true)
	private Integer departmentNumber;

	public void setInsuranceNumber(Integer insuranceNumber) {
		this.insuranceNumber = insuranceNumber;
	}

	public Integer getInsuranceNumber() {
		return insuranceNumber;
	}

	public Integer getDepartmentNumber() {
		return departmentNumber;
	}

	public void setDepartmentNumber(Integer departmentNumber) {
		this.departmentNumber = departmentNumber;
	}

}
